package com.ruoyi.galaxy.api;

/**
 * @author yeoman
 * @date 2025/4/11 10:47
 * @description
 */
public class GalaxyApiConstant {

    /**
     * API 前缀
     */
    public static final String API_PREFIX = "https://rest-sig.imaitix.com/api";

    /**
     * 获取商品列表
     */
    public static final String GET_PROJECT_LIST = API_PREFIX + "/pro/customizableProjects?page={page}&pageSize={pageSize}&langType={langType}";

    /**
     * 获取商品详情
     */
    public static final String GET_PROJECT = API_PREFIX + "/pro/project?projectToken={projectToken}&reqType={reqType}&langType={langType}";

    /**
     * 获取商品场次
     */
    public static final String GET_PROJECT_EVENT = API_PREFIX + "/pro/event?eventToken={eventToken}&langType={langType}";

    /**
     * 获取订单列表
     */
    public static final String GET_ORDER_LIST = API_PREFIX + "/order/queryOrderList?pageIndex={pageIndex}&pageSize={pageSize}&needCount={needCount}&orderListType={orderListType}&langType={langType}";

    /**
     * 加购物车
     */
    public static final String TRADE_ADD_CART = API_PREFIX + "/trade/addCartGood";

    /**
     * 检查商品是否可售
     */
    public static final String SHOPPING_CART_CHECK_GOOD_SALE = API_PREFIX + "/shoppingCart/checkGoodSale";

    /**
     * 确认购物车
     */
    public static final String TRADE_CONFIRM_CART = API_PREFIX + "/trade/confirmGroupedCart";

    /**
     * 提交购物车
     */
    public static final String TRADE_SUBMIT_CART = API_PREFIX + "/trade/submitGroupedCart";

}
